package action;

import object.UeditorPage;

import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

public class PageActions_Ueditor {
	WebDriver driver; 
	UeditorPage up;
	public PageActions_Ueditor(WebDriver driver) {
		this.driver=driver;
	}	
	 public void enterBlog_tags(String s){
		 up=new UeditorPage(driver);
		 if(up.gblog_tags!=null){
			 try 
				{
				 	up.gblog_tags.sendKeys(s);
				}catch(NoSuchElementException e){
					System.out.println("Exception message"+ e.getMessage());
				}
		 }
	 }
}
